/* components/image-sort/index.less */
.image-sort-container {
  display: flex;
  flex-wrap: wrap;
  padding: 10rpx;
  box-sizing: border-box;
}

.image-item {
  position: relative;
  width: 160rpx;
  height: 160rpx;
  margin: 10rpx;
  border-radius: 8rpx;
  overflow: hidden;
  background-color: #f5f5f5;
  transition: all 0.2s;
}

.image-item image {
  width: 100%;
  height: 100%;
}

.delete-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 40rpx;
  height: 40rpx;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(10rpx, -10rpx);
  z-index: 10;
}

.delete-btn text {
  font-size: 28rpx;
  line-height: 1;
}

.dragging {
  transform: scale(1.05);
  box-shadow: 0 0 15rpx rgba(0, 0, 0, 0.3);
  z-index: 20;
}